<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>我的简历</title>
    <link rel="stylesheet" href="__INDEX__/css/index1.css" />
    <script type="text/javascript" src="__INDEX__/js/rem1.js" ></script>
    <script type="text/javascript" src="__INDEX__/js/jquery-3.3.1.js" ></script>
</head>
<body>
<div class="jianli_box">
    <?php foreach ($list as $key => $value): ?>
        <a style="text-decoration: none;" href="<?php echo url('jianli/edit',['id'=>$value['id'],'type'=>1]) ?>">
            <div class="jianli_list">
                <img src="__INDEX__/images/icon.png" />
                <h3><?php echo $value['jname'] ?></h3>
                <p>更新时间：<?php echo substr($value['update_time'],0,10) ?></p>
            </div>
        </a>
    <?php endforeach ?>
    <?php foreach ($list_qz as $key => $value): ?>
        <a style="text-decoration: none;" href="<?php echo url('jianli/edit',['id'=>$value['id'],'type'=>2]) ?>">
            <div class="jianli_list">
                <img src="__INDEX__/images/icon.png" />
                <h3><?php echo $value['jname'] ?></h3>
                <p>更新时间：<?php echo substr($value['add_time'],0,10) ?></p>
            </div>
        </a>
    <?php endforeach ?>
    <div class="shangchuan_btn">
        <a onclick="tj()">上传简历</a>
    </div>
</div>
<script type="text/javascript" src="__INDEX__/layui/layui.js"></script>
<script>
    layui.use('layer', function(){
        var layer = layui.layer;
    });
    function tj() {
        //询问框
        layer.confirm('创建新简历', {
            btn: ['兼职简历','全职简历'] //按钮
        }, function(){
            window.location.href="<?php echo url('jianli/create') ?>"
        }, function(){
            window.location.href="<?php echo url('jianli/qz') ?>"
        });
    }
</script>
</body>
</html>
